#pragma once
#include "pch.h"
#include "MyApplication.h"

MyApplication::MyApplication()
{

}

void MyApplication::Load()
{
	
}

void MyApplication::Render()
{
	d2dDeviceContext->BeginDraw();

	d2dDeviceContext->Clear(D2D1::ColorF(D2D1::ColorF::CornflowerBlue));

	D2D1_POINT_2F p1 = D2D1::Point2F(0, 0);
	D2D1_POINT_2F p2 = D2D1::Point2F(100, 100);
	d2dDeviceContext->DrawLine(p1, p2, scbWhite.Get());

	d2dDeviceContext->EndDraw();
	dxgiSwapChain->Present(0, 0);
}

void MyApplication::Update()
{
	//TODO
}

void MyApplication::Unload()
{

}